var aa=document.querySelector("iframe");
function Router() {
			    this.routes = {};
			    this.currentUrl = '';
			}
Router.prototype.route = function(path, callback) {
    this.routes[path] = callback || function(){};
};
Router.prototype.refresh = function() {
    this.currentUrl = location.hash.slice(1) || '/';
    this.routes[this.currentUrl]();
};
Router.prototype.init = function() {
    window.addEventListener('load', this.refresh.bind(this), false);
    window.addEventListener('hashchange', this.refresh.bind(this), false);
}
window.Router = new Router();
window.Router.init();	

Router.route('/', function() {
    aa.src="./dtjk.html"
});
Router.route('/hygl', function() {
    aa.src="./hygl.html"
});
Router.route('/dtjk', function() {
    aa.src="./dtjk.html"
});
Router.route('/jqgl', function() {
    aa.src="./jqgl.html"
});
Router.route('/ztgl', function() {
    aa.src="./ztgl.html"
});
Router.route('/clgl', function() {
    aa.src="./clgl.html"
});
Router.route('/cwgl', function() {
    aa.src="./cwgl.html"
});
Router.route('/shgl', function() {
    aa.src="./shgl.html"
});
Router.route('/xtsz', function() {
    aa.src="./xtsz.html"
})
Router.route('/jksz', function() {
    aa.src="./jksz.html"
})
Router.route('/dxfwsz', function() {
    aa.src="./dxfwsz.html"
})
Router.route('/spgl', function() {
    aa.src="./spgl.html"
})
Router.route('/czkgl', function() {
    aa.src="./czkgl.html"
})
Router.route('/cxzx', function() {
    aa.src="./cxzx.html"
})
Router.route('/sht', function() {
    aa.src="./sht.html"
})
Router.route('/tjbb', function() {
    aa.src="./tjbb.html"
})